how to implement a rot13 cipher in javascript